//
//  InitDataRequset.h
//  HengHuaSupervision
//
//  Created by XD-XY on 3/27/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TagsItem.h"
#import "PropertyItem.h"
#import "PropertywithlabelItem.h"
#import "ScanItem.h"
#import "SupervisionItem.h"
#import "CurrentTimeItem.h"

@class InitDataRequset;
@protocol InitDataRequestDelegate <NSObject>

-(void)reloadDataFromDB:(InitDataRequset *)reRuequset;
-(void)failInitRequest;
@end

@interface InitDataRequset : NSObject
{
    NSMutableDictionary * dataDict; //将请求和返回的数据用键值对绑定在一起
    NSMutableDictionary * statusDict; //将请求是否成功和请求用键值对版绑定在一起
}

@property (nonatomic,assign)id<InitDataRequestDelegate>delegate;

@property (nonatomic,assign)int tag;

//初始化它的全局字典
-(void)initInitDataRequsetDict;

-(void)getTagsInfomation:(NSString *)currentTime;        //获取标签信息
-(void)getPropertyInfomation:(NSString *)currentTime;    //获取资产信息
-(void)getPropertyWithLabelInfomation:(NSString *)currentTime;  //获取资产标签关联信息
-(void)getScanInfomation:(NSString *)currentTime;        //获取扫描记录
-(void)getSupervisionInfomation:(NSString *)currentTime; //获取监造信息
//-(void)getArriveInfomation;  //获取到货信息
//-(void)getTrnsportInfomation; //获取运输信息

@end
